NeMo-Guardrails
NeMo-Guardrails copied to clipboard
[Question] Run the code locally , HF isn't available
While running the code below :
`config = RailsConfig.from_content( colang_content=colang_content, yaml_content=yaml_content )
import nest_asyncio nest_asyncio.apply()
guardrails = RunnableRails(config)`
I see some 5 files are fetched .
Fetching 5 files: 100% 5/5 [00:01<00:00, 1.17it/s] tokenizer.json: 100% 712k/712k [00:00<00:00, 3.78MB/s] special_tokens_map.json: 100% 695/695 [00:00<00:00, 7.23kB/s] config.json: 100% 650/650 [00:00<00:00, 5.26kB/s] tokenizer_config.json: 100% 1.43k/1.43k [00:00<00:00, 12.4kB/s] model.onnx: 100% 90.4M/90.4M [00:01<00:00, 99.0MB/s]
How to run the same code without refering HF each time ?