Datasets:
File size: 602 Bytes
06f0c14 | 1 2 3 4 5 | {
"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"
} |