note : use original open llama tokenizer

model_path = 'ruwan/open-llama-sharded-1GB-7B-alpaca-vmware'

tokenizer = LlamaTokenizer.from_pretrained("openlm-research/open_llama_7b") model = LlamaForCausalLM.from_pretrained( model_path, torch_dtype=torch.float16, device_map='auto' )

Downloads last month
1
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.