g-ronimo / phi-2-OpenHermes-2.5

huggingface.co
Total runs: 87
24-hour runs: 0
7-day runs: 2
30-day runs: 22
Model's Last Updated: February 06 2024
text-generation

Introduction of phi-2-OpenHermes-2.5

Model Details of phi-2-OpenHermes-2.5

microsoft/phi-2 + teknium/OpenHermes-2.5

Training
  • QLoRA rank 32, LR 2e-5, 1 epoch
  • effective batch size: 200
  • max. seq. length: 1024 tokens
  • code in code/
Evals
Model AGIEval GPT4All TruthfulQA Bigbench Average
g-ronimo/phi-2-OpenHermes-2.5 30.27 71.18 43.87 35.9 45.3
minghaowu/phi-2-OpenHermes-2.5 27.95 67.55 48.07 36.17 44.94
phi-2 27.96 70.84 44.46 35.17 44.61
Inference
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

modelpath="g-ronimo/phi-2-OpenHermes-2.5"

model = AutoModelForCausalLM.from_pretrained(
    modelpath,    
    torch_dtype=torch.bfloat16,
    device_map="auto",
    # attn_implementation="flash_attention_2",
)
tokenizer = AutoTokenizer.from_pretrained(modelpath) 

messages = [
    {"role": "system", "content": "answer like a pirate"},
    {"role": "user", "content": "what does it mean to be successful?"},
]
        
input_tokens = tokenizer.apply_chat_template(
    messages, 
    add_generation_prompt=True,
    return_tensors="pt"
).to("cuda")
output_tokens = model.generate(input_tokens, max_new_tokens=500)
output = tokenizer.decode(output_tokens[0])

print(output)

Ahoy there, matey! To me, being successful means having the wind in your sails and reaching the treasure you've been dreaming of. It's about setting sail on a journey with clear goals, working hard, facing challenges head-on, and never losing sight of what truly matters. So, set your compass right, hoist your Jolly Roger high, and let's embark on this adventure together! ⚓️💰⛵️

Runs of g-ronimo phi-2-OpenHermes-2.5 on huggingface.co

87
Total runs
0
24-hour runs
0
3-day runs
2
7-day runs
22
30-day runs

More Information About phi-2-OpenHermes-2.5 huggingface.co Model

More phi-2-OpenHermes-2.5 license Visit here:

https://choosealicense.com/licenses/mit

phi-2-OpenHermes-2.5 huggingface.co

phi-2-OpenHermes-2.5 huggingface.co is an AI model on huggingface.co that provides phi-2-OpenHermes-2.5's model effect (), which can be used instantly with this g-ronimo phi-2-OpenHermes-2.5 model. huggingface.co supports a free trial of the phi-2-OpenHermes-2.5 model, and also provides paid use of the phi-2-OpenHermes-2.5. Support call phi-2-OpenHermes-2.5 model through api, including Node.js, Python, http.

phi-2-OpenHermes-2.5 huggingface.co Url

https://huggingface.co/g-ronimo/phi-2-OpenHermes-2.5

g-ronimo phi-2-OpenHermes-2.5 online free

phi-2-OpenHermes-2.5 huggingface.co is an online trial and call api platform, which integrates phi-2-OpenHermes-2.5's modeling effects, including api services, and provides a free online trial of phi-2-OpenHermes-2.5, you can try phi-2-OpenHermes-2.5 online for free by clicking the link below.

g-ronimo phi-2-OpenHermes-2.5 online free url in huggingface.co:

https://huggingface.co/g-ronimo/phi-2-OpenHermes-2.5

phi-2-OpenHermes-2.5 install

phi-2-OpenHermes-2.5 is an open source model from GitHub that offers a free installation service, and any user can find phi-2-OpenHermes-2.5 on GitHub to install. At the same time, huggingface.co provides the effect of phi-2-OpenHermes-2.5 install, users can directly use phi-2-OpenHermes-2.5 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

phi-2-OpenHermes-2.5 install url in huggingface.co:

https://huggingface.co/g-ronimo/phi-2-OpenHermes-2.5

Url of phi-2-OpenHermes-2.5

phi-2-OpenHermes-2.5 huggingface.co Url

Provider of phi-2-OpenHermes-2.5 huggingface.co

g-ronimo
ORGANIZATIONS

Other API from g-ronimo

huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:January 19 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 20 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 13 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 03 2026