hsaest commited on
Commit
22b3743
·
verified ·
1 Parent(s): db8408b

Add English README (card + quick start)

Browse files
Files changed (1) hide show
  1. README.md +27 -3
README.md CHANGED
@@ -1,3 +1,27 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - quest
6
+ - text-generation
7
+ ---
8
+
9
+ # QUEST-4B
10
+
11
+ QUEST **4B** checkpoint in the QUEST model line. Load like other causal LMs in this org.
12
+
13
+ ## Quick start
14
+
15
+ ```python
16
+ from transformers import AutoModelForCausalLM, AutoTokenizer
17
+
18
+ model_id = "osunlp/QUEST-4B"
19
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
20
+ model = AutoModelForCausalLM.from_pretrained(
21
+ model_id,
22
+ device_map="auto",
23
+ torch_dtype="auto",
24
+ )
25
+ ```
26
+
27
+ Use the chat template and `tokenizer.apply_chat_template(...)` when available. VRAM and dtype requirements depend on model size and MoE vs dense architecture; see `config.json` (`model_type`, `architectures`).