Views
No views yet
model.safetensors.index.json: The index for the model weights in safetensors format.model-00001-of-00003.safetensors: Part 1 of the model weights.model-00002-of-00003.safetensors: Part 2 of the model weights.model-00003-of-00003.safetensors: Part 3 of the model weights.config.json: Configuration file for the model architecture.tokenizer.json: Tokenizer file.tokenizer_config.json: Tokenizer configuration.special_tokens_map.json: Special tokens mapping.vocab.json: Vocabulary file.1from transformers import AutoModel, AutoTokenizer, SafeTensorsLoader
2
3# Load tokenizer
4tokenizer = AutoTokenizer.from_pretrained("FatimaAziz/qwen2B_Finetunned4/")
5
6# Load model with safetensors
7model = SafeTensorsLoader.from_pretrained("FatimaAziz/qwen2B_Finetunned4/")
8
9# If SafeTensorsLoader is not available, you might need to convert the model
10# from safetensors to the standard format supported by AutoModel