sunbird_salt_docs / chunks /chunk_11_1.json
jimjunior's picture
Upload folder using huggingface_hub
06f0c14 verified
Raw
History Blame Contribute Delete
602 Bytes
{
"source_url": "https://salt.sunbird.ai/sunflower/inference/",
"chunk_id": "11_1",
"text": "mport the necessary libraries for loading and running the model. import torch import transformers from transformers import AutoModelForCausalLM , AutoTokenizer , BitsAndBytesConfig import os from getpass import getpass 3. Authentication Set your Hugging Face token to access models os . environ HFTOKEN getpass ( HFTOKEN ) 4. Load Tokenizer and Model Replace MODELNAME with the specific model you want to use, e.g., SunbirdSunflower-14B-4bit-nf4-bnb or SunbirdSunflower-14B-8bit-bnb . Load toke"
}