ldwang commited on
Commit
fc1b1ca
·
verified ·
1 Parent(s): e70413b

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # OpenSeek-Small-v1-Baseline Model Documentation
2
+
3
+ ## Overview
4
+ We sampled 100 billion tokens from the CCI4.0 dataset and trained a 1.4B-parameter MoE model with 0.4B active parameters. This model, along with the dataset, is open-sourced as a baseline for future experiments in areas such as dataset construction, algorithmic strategies, and parallel training frameworks. The model arch is same as OpenSeek-Small-v1 model.
5
+
6
+ ## Usage Instructions
7
+ ```python
8
+ from transformers import AutoModelForCausalLM, AutoTokenizer
9
+
10
+ model = AutoModelForCausalLM.from_pretrained("BAAI/OpenSeek-Small-v1-Baseline")
11
+ tokenizer = AutoTokenizer.from_pretrained("BAAI/OpenSeek-Small-v1-Baseline")
12
+
13
+ inputs = tokenizer("The future of AI is", return_tensors="pt")
14
+ outputs = model.generate(**inputs, max_length=50)
15
+ print(tokenizer.decode(outputs[0]))
16
+ ```