Summarization
Transformers
Safetensors
English
phi
text-generation
arxiv
custom_code
text-generation-inference
Run this model with HF Jobs
Run AlgorithmicResearchGroup/phi-arxiv-physics-instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AlgorithmicResearchGroup/phi-arxiv-physics-instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AlgorithmicResearchGroup/phi-arxiv-physics-instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use AlgorithmicResearchGroup/phi-arxiv-physics-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlgorithmicResearchGroup/phi-arxiv-physics-instruct with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="AlgorithmicResearchGroup/phi-arxiv-physics-instruct", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-physics-instruct", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-physics-instruct", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
1ce33dd
1
Parent(s): 5eb8866
Upload PhiForCausalLM
Browse filesFiles changed (3)
9 unmodified lines101112131415161717181920214 unmodified lines262728282930319 unmodified lines "AutoModelForCausalLM": "microsoft/phi-1_5--modeling_phi.PhiForCausalLM" }, "embd_pdrop": 0.0, "flash_attn": false, "flash_rotary": false, "fused_dense": false, "initializer_range": 0.02, "layer_norm_epsilon": 1e-05, "model_type": "mixformer-sequential", "model_type": "phi", "n_embd": 2048, "n_head": 32, "n_head_kv": null,4 unmodified lines "rotary_dim": 32, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.35.1", "transformers_version": "4.35.2", "vocab_size": 51200}12334{ "_from_model_config": true, "transformers_version": "4.35.1" "transformers_version": "4.35.2"}12323version https://git-lfs.github.com/spec/v1oid sha256:062fc0c989a93443b8e88340acfff53f3f85b11acf8ff8cb88fcdb0a956b1023size 2836565464oid sha256:83aa3949df5dcb42761fcd27a7c9e16f97eef5357e2d937c6d4c3ffab5b137c5size 2836567160config.json+3-2
generation_config.json+1-1
model.safetensors+2-2