3xSiberID commited on
Commit
c61752f
·
verified ·
1 Parent(s): 4357809

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -3
README.md CHANGED
@@ -1,3 +1,36 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - HuggingFaceFW/fineweb-edu
5
+ pipeline_tag: text-generation
6
+ language:
7
+ - en
8
+ ---
9
+
10
+ # Serayuki-1B
11
+
12
+ **Model Developer**: Mr.Robot1337
13
+ <br>
14
+ **Model Type**: Causal Language Model
15
+
16
+ ## Example Usage
17
+
18
+ Using Hugging Face Transformers:
19
+
20
+ ```python
21
+ from transformers import AutoModelForCausalLM, AutoTokenizer
22
+
23
+ model = AutoModelForCausalLM.from_pretrained("SeraphyneLab/DeepFox-base-prototype")
24
+ tokenizer = AutoTokenizer.from_pretrained("SeraphyneLab/DeepFox-base-prototype")
25
+
26
+ input_text = "Once upon a time"
27
+ inputs = tokenizer(input_text, return_tensors="pt").to("cuda")
28
+ outputs = model.generate(**inputs, max_new_tokens=128)
29
+
30
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
31
+ ```
32
+
33
+ ## License
34
+
35
+ This model is licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.txt).
36
+