afrideva / phi-2-meditron-GGUF

huggingface.co
Total runs: 623
24-hour runs: 4
7-day runs: 83
30-day runs: 330
Model's Last Updated: December 21 2023
text-generation

Introduction of phi-2-meditron-GGUF

Model Details of phi-2-meditron-GGUF

malhajar/phi-2-meditron-GGUF

Quantized GGUF model files for phi-2-meditron from malhajar

Original Model Card:

Model Card for Model ID

phi-2-meditron is a finetuned version of epfl-llm/meditron-7b using SFT Training on the Meditron Dataset. This model can answer information about different excplicit ideas in medicine (see epfl-llm/meditron-7b for more info)

Model Description
Prompt Template
### Instruction:

<prompt> (without the <>)

### Response:
How to Get Started with the Model

Use the code sample provided in the original post to interact with the model.

from transformers import AutoTokenizer,AutoModelForCausalLM
 
model_id = "malhajar/phi-2-meditron"
model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
                                             device_map="auto",
                                             torch_dtype=torch.float16,
                                              trust_remote_code= True,
                                             revision="main")

tokenizer = AutoTokenizer.from_pretrained(model_id)

question: "what is tract infection?"
# For generating a response
prompt = '''
### Instruction:
{question} 

### Response:'''
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
output = model.generate(inputs=input_ids,max_new_tokens=512,pad_token_id=tokenizer.eos_token_id,top_k=50, do_sample=True,
        top_p=0.95)
response = tokenizer.decode(output[0])

print(response)

Runs of afrideva phi-2-meditron-GGUF on huggingface.co

623
Total runs
4
24-hour runs
12
3-day runs
83
7-day runs
330
30-day runs

More Information About phi-2-meditron-GGUF huggingface.co Model

More phi-2-meditron-GGUF license Visit here:

https://choosealicense.com/licenses/ms-pl

phi-2-meditron-GGUF huggingface.co

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

phi-2-meditron-GGUF huggingface.co Url

https://huggingface.co/afrideva/phi-2-meditron-GGUF

afrideva phi-2-meditron-GGUF online free

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

afrideva phi-2-meditron-GGUF online free url in huggingface.co:

https://huggingface.co/afrideva/phi-2-meditron-GGUF

phi-2-meditron-GGUF install

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

phi-2-meditron-GGUF install url in huggingface.co:

https://huggingface.co/afrideva/phi-2-meditron-GGUF

Url of phi-2-meditron-GGUF

phi-2-meditron-GGUF huggingface.co Url

Provider of phi-2-meditron-GGUF huggingface.co

afrideva
ORGANIZATIONS

Other API from afrideva

huggingface.co

Total runs: 692
Run Growth: 615
Growth Rate: 88.87%
Updated:December 08 2023
huggingface.co

Total runs: 613
Run Growth: 355
Growth Rate: 57.91%
Updated:December 18 2023