Instructions to use JakeOh/LLaDA-70M-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JakeOh/LLaDA-70M-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="JakeOh/LLaDA-70M-Base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("JakeOh/LLaDA-70M-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse filesFiles changed (2)
30 unmodified lines313233343536373830 unmodified lines"input_emb_norm": false,"layer_norm_type": "rms","layer_norm_with_affine": true,"mask_token_id": 8,"max_sequence_length": 4096,"mlp_hidden_size": 1024,"mlp_ratio": 4,"model_type": "llada",30 unmodified lines313233343536373830 unmodified lines"input_emb_norm": false,"layer_norm_type": "rms","layer_norm_with_affine": true,"mask_token_id": 50258,"max_sequence_length": 1024,"mlp_hidden_size": 1024,"mlp_ratio": 4,"model_type": "llada",
459 unmodified lines460461462463459 unmodified lines# Register the config class so that it is available for transformer pipelines, auto-loading etc.AutoConfig.register("llada", LLaDAConfig)459 unmodified lines460461462463459 unmodified lines# Register the config class so that it is available for transformer pipelines, auto-loading etc.AutoConfig.register("llada", LLaDAConfig)
config.json+2-2
configuration_llada.py+1-1