sunbird_salt_docs / chunks /chunk_11_3.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_3",
"text": "t above and use loadin8bitTrue, llmint8threshold6.0 ) Load model model AutoModelForCausalLM . frompretrained ( MODELNAME , quantizationconfig quantizationconfig , devicemap auto , or cuda0 for single GPU trustremotecode True ) Note Only change MODELNAME and adjust quantization parameters. Everything else remains the same for any model. 5. Prepare Chat Prompt Define system message (assistant role) SYSTEMMESSAGE You are Sunflower, a multilingual assistant for Ugandan languages made by Su"
}