Instructions to use wls04/glm_code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wls04/glm_code with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="wls04/glm_code", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("wls04/glm_code", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 356 Bytes
0e1a431 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"<eop>": 151334,
"<sop>": 151333,
"<|assistant|>": 151337,
"<|begin_of_image|>": 151339,
"<|begin_of_video|>": 151341,
"<|end_of_image|>": 151340,
"<|end_of_video|>": 151342,
"<|endoftext|>": 151329,
"<|observation|>": 151338,
"<|system|>": 151335,
"<|user|>": 151336,
"[MASK]": 151330,
"[gMASK]": 151331,
"[sMASK]": 151332
}
|