daemon1st commited on
Commit
7adf14a
·
verified ·
1 Parent(s): a20a962

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +20 -0
README.md CHANGED
@@ -1,3 +1,23 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+ tags:
5
+ - text-generation
6
+ pipeline_tag: text-generation
7
+ ---
8
+
9
+ # Ethan MiniMind (28M)
10
+
11
+ This is a small experimental text-only language model (28M parameters).
12
+ It is currently in training, so results may vary.
13
+
14
+ ## Usage
15
+
16
+ ```python
17
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
18
+
19
+ tokenizer = AutoTokenizer.from_pretrained("daemon1st/Ethan-minimind")
20
+ model = AutoModelForCausalLM.from_pretrained("daemon1st/Ethan-minimind")
21
+
22
+ gen = pipeline("text-generation", model=model, tokenizer=tokenizer)
23
+ gen("Hello world!", max_new_tokens=50)