Instructions to use lamm-mit/LlaDA-8B-EditFlow-graph-v520 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lamm-mit/LlaDA-8B-EditFlow-graph-v520 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lamm-mit/LlaDA-8B-EditFlow-graph-v520", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,8 +22,11 @@ export PYTHONPATH="$PYTHONPATH:/home/ubuntu/dllm"
|
|
| 22 |
```
|
| 23 |
# Training
|
| 24 |
|
|
|
|
|
|
|
| 25 |
```bash
|
| 26 |
-
|
|
|
|
| 27 |
--model_name_or_path lamm-mit/LlaDA-8B-EditFlow-instruct-v500 \
|
| 28 |
--dataset_args lamm-mit/graph-reasoning-messages-11K \
|
| 29 |
--output_dir models/LlaDA-8B-EditFlow-graph-v520 --x0_sampler masks[length:128] \
|
|
|
|
| 22 |
```
|
| 23 |
# Training
|
| 24 |
|
| 25 |
+
Trained on a single 8xH100 node:
|
| 26 |
+
|
| 27 |
```bash
|
| 28 |
+
accelerate launch \
|
| 29 |
+
--config_file scripts/accelerate_configs/zero2.yaml examples/editflow/llada/sft.py \
|
| 30 |
--model_name_or_path lamm-mit/LlaDA-8B-EditFlow-instruct-v500 \
|
| 31 |
--dataset_args lamm-mit/graph-reasoning-messages-11K \
|
| 32 |
--output_dir models/LlaDA-8B-EditFlow-graph-v520 --x0_sampler masks[length:128] \
|