Upload internlm_Intern-S1_1.py with huggingface_hub
Browse files8 unmodified lines9101112121314158 unmodified linestry: # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("internlm/Intern-S1", trust_remote_code=True, torch_dtype="auto"), model = AutoModelForCausalLM.from_pretrained("internlm/Intern-S1", trust_remote_code=True, torch_dtype="auto") with open('internlm_Intern-S1_1.txt', 'w') as f: f.write('Everything was good in internlm_Intern-S1_1.txt')except Exception as e:internlm_Intern-S1_1.py+1-1