Upload ByteDance_Ouro-2.6B-Thinking_1.py with huggingface_hub
Browse files3 unmodified lines456789101111 unmodified lines232425242627282910 unmodified lines40414241434445463 unmodified lines# "numpy",# "einops",# "pandas",# "matplotlib",# "paddleorc",# "protobuf",# "torch",# "sentencepiece",11 unmodified linestry: # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ByteDance/Ouro-2.6B-Thinking", trust_remote_code=True, torch_dtype="auto") model = AutoModelForCausalLM.from_pretrained("ByteDance/Ouro-2.6B-Thinking", trust_remote_code=True, dtype="auto") with open('ByteDance_Ouro-2.6B-Thinking_1.txt', 'w', encoding='utf-8') as f: f.write('Everything was good in ByteDance_Ouro-2.6B-Thinking_1.txt')except Exception as e:10 unmodified lines f.write('''```CODE: # Load model directlyfrom transformers import AutoModelForCausalLMmodel = AutoModelForCausalLM.from_pretrained("ByteDance/Ouro-2.6B-Thinking", trust_remote_code=True, torch_dtype="auto")model = AutoModelForCausalLM.from_pretrained("ByteDance/Ouro-2.6B-Thinking", trust_remote_code=True, dtype="auto")```
ERROR: ByteDance_Ouro-2.6B-Thinking_1.py+4-2