Downloads · 30 days
16
6% of all-time downloads
iblai/ibl-fordham-7b
ibl-fordham-7b is a text generation model from iblai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
ibleducation/ibl-fordham-7b is a model finetuned on top of openchat/openchat3.5
Downloads · 30 days
16
6% of all-time downloads
All-time downloads
250
Public
Parameters
7.2B
14.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
ibleducation/ibl-fordham-7b is a model finetuned on top of openchat/openchat_3.5
This model is finetuned to answer questions about fordham university.
Requires: transformers 4.35.0 or later, and accelerate 0.23.0 or later.
pip install transformers==4.35.0
pip install accelerate==0.23.0
from transformers import AutoModelForCausalLM, AutoTokenizer
import transformers
import torch
model_id = "ibleducation/ibl-fordham-7b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
)
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
)
prompt = "<s>What programmes are offered at fordham university?</s>"
response = pipeline(prompt)
print(response['generated_text'])
Important - Use the prompt template below for ibl-fordham-7b:
<s>{prompt}</s>