| | --- |
| | license: apache-2.0 |
| | datasets: |
| | - HuggingFaceFW/fineweb-edu |
| | pipeline_tag: text-generation |
| | language: |
| | - en |
| | --- |
| | |
| | # Deepfox-1M |
| |
|
| | **Model Developer**: Mr.Robot1337 |
| | <br> |
| | **Model Type**: Causal Language Model |
| |
|
| | ## Example Usage |
| |
|
| | Using Hugging Face Transformers: |
| |
|
| | ```python |
| | from transformers import AutoModelForCausalLM, AutoTokenizer |
| | |
| | model = AutoModelForCausalLM.from_pretrained("SeraphyneLab/DeepFox-base-prototype") |
| | tokenizer = AutoTokenizer.from_pretrained("SeraphyneLab/DeepFox-base-prototype") |
| | |
| | input_text = "Once upon a time" |
| | inputs = tokenizer(input_text, return_tensors="pt").to("cuda") |
| | outputs = model.generate(**inputs, max_new_tokens=128) |
| | |
| | print(tokenizer.decode(outputs[0], skip_special_tokens=True)) |
| | ``` |
| |
|
| | ## License |
| |
|
| | This model is licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.txt). |
| |
|
| |
|