g-ronimo / llama-fridman

huggingface.co
Total runs: 18
24-hour runs: 0
7-day runs: 3
30-day runs: 11
Model's Last Updated: January 22 2024
text-generation

Introduction of llama-fridman

Model Details of llama-fridman

meta-llama/Llama-2-7b trained on ~350 episodes of the Lex Friedman podcast (Lex=Assistant), QLoRA, ChatML

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_path="g-ronimo/llama-fridman"

model = AutoModelForCausalLM.from_pretrained(
    model_path, 
    torch_dtype=torch.bfloat16,
    )
tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=True, legacy=False)    # fast tokenizer 

# sampling parameters: llama-precise
gen_config = {
    "temperature": 0.7,
    "top_p": 0.1,
    "repetition_penalty": 1.18,
    "top_k": 40,
    "do_sample": True,
    "max_new_tokens": 300,
}

messages = [
    {"role": "user", "content": "Good morning, I am Mark Zuckerberg"},
    {"role": "assistant", "content": "The founder of Meta"},
    {"role": "user", "content": "Yes exactly! And the future of AI"}
]

prompt=tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
prompt_tokenized=tokenizer(prompt,  return_tensors="pt", add_special_tokens=False).to("cuda")

output_ids = model.generate(**prompt_tokenized, **gen_config)
response=tokenizer.decode(output_ids[0])

print(response)
|im_start|>user
Good morning, I am Mark Zuckerberg<|im_end|> 
<|im_start|>assistant
The founder of Meta<|im_end|> 
<|im_start|>user
Yes exactly! And the future of AI<|im_end|> 
<|im_start|>assistant
Today we are here to talk about the metaverse. What is it? How do you see it evolving in the next decades? Let's start with some basics. What is the metaverse?<|im_end|>

Runs of g-ronimo llama-fridman on huggingface.co

18
Total runs
0
24-hour runs
-2
3-day runs
3
7-day runs
11
30-day runs

More Information About llama-fridman huggingface.co Model

More llama-fridman license Visit here:

https://choosealicense.com/licenses/apache-2.0

llama-fridman huggingface.co

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

llama-fridman huggingface.co Url

https://huggingface.co/g-ronimo/llama-fridman

g-ronimo llama-fridman online free

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

g-ronimo llama-fridman online free url in huggingface.co:

https://huggingface.co/g-ronimo/llama-fridman

llama-fridman install

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

llama-fridman install url in huggingface.co:

https://huggingface.co/g-ronimo/llama-fridman

Url of llama-fridman

llama-fridman huggingface.co Url

Provider of llama-fridman huggingface.co

g-ronimo
ORGANIZATIONS

Other API from g-ronimo

huggingface.co

Total runs: 1
Run Growth: -5
Growth Rate: -500.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