Instructions to use nlp-project-uw/quant_1b_impl_BitNet_loss_CrossEntropy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlp-project-uw/quant_1b_impl_BitNet_loss_CrossEntropy with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nlp-project-uw/quant_1b_impl_BitNet_loss_CrossEntropy", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from nlp-project-uw/quant_1b_impl_BitNet_loss_CrossEntropy: direct link, hf CLI and curl.
- Browser
- Download file 254 Bytes
-
https://huggingface.co/nlp-project-uw/quant_1b_impl_BitNet_loss_CrossEntropy/resolve/refs%2Fpr%2F2/config.json
- Command line
-
hf download hf://nlp-project-uw/quant_1b_impl_BitNet_loss_CrossEntropy@refs/pr/2/config.json
-
curl -L -o config.json https://huggingface.co/nlp-project-uw/quant_1b_impl_BitNet_loss_CrossEntropy/resolve/refs%2Fpr%2F2/config.json
254 Bytes
| { | |
| "architectures": [ | |
| "HFQuantizedSmolModel" | |
| ], | |
| "bitlinear_implementation": "BitNet", | |
| "loss_function": "CrossEntropy", | |
| "model_type": "quantized_net42", | |
| "quantization": "1b", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.52.4" | |
| } | |