Instructions to use AICube/ChatGLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AICube/ChatGLM with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("THUDM/chatglm3-6b-base") model = PeftModel.from_pretrained(base_model, "AICube/ChatGLM") - Notebooks
- Google Colab
- Kaggle
Download train_results.json from AICube/ChatGLM: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/AICube/ChatGLM/resolve/main/train_results.json
- Command line
-
hf download hf://AICube/ChatGLM/train_results.json
-
curl -L -o train_results.json https://huggingface.co/AICube/ChatGLM/resolve/main/train_results.json
222 Bytes
| { | |
| "epoch": 0.9919137466307277, | |
| "total_flos": 2.703782589549773e+16, | |
| "train_loss": 5.550413712211277, | |
| "train_runtime": 20332.1955, | |
| "train_samples_per_second": 0.036, | |
| "train_steps_per_second": 0.002 | |
| } |