emozilla / landmark-llama-7b

huggingface.co
Total runs: 13
24-hour runs: 0
7-day runs: 2
30-day runs: 4
Model's Last Updated: June 07 2023
text-generation

Introduction of landmark-llama-7b

Model Details of landmark-llama-7b

emozilla/landmark-llama-7b

This model is an out-of-the-box ready version of the LLaMA-7B variant of Landmark Attention . The original code is modified from the Landmark GitHub and the weights from here .

As a LLaMA variant, this model may be subject to the LLaMA license.

To use
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
import torch

tokenizer = AutoTokenizer.from_pretrained("emozilla/landmark-llama-7b", use_fast=False)
model = AutoModelForCausalLM.from_pretrained("emozilla/landmark-llama-7b", \
  torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto")
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)

print(pipe("Somebody once told me the world is gonna roll me", \
           max_new_tokens=256, temperature=0.8, do_sample=True))

You can configure the Landmark parameters by editing mem_freq , mem_top_k , mem_max_seq_len , and mem_max_cache_size .

config = AutoConfig.from_pretrained("emozilla/landmark-llama-7b", trust_remote_code=True)
config.mem_top_k = 6
model = AutoModelForCausalLM.from_pretrained("emozilla/landmark-llama-7b", \
  torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto", config=config)

Runs of emozilla landmark-llama-7b on huggingface.co

13
Total runs
0
24-hour runs
2
3-day runs
2
7-day runs
4
30-day runs

More Information About landmark-llama-7b huggingface.co Model

More landmark-llama-7b license Visit here:

https://choosealicense.com/licenses/cc-by-sa-4.0

landmark-llama-7b huggingface.co

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

landmark-llama-7b huggingface.co Url

https://huggingface.co/emozilla/landmark-llama-7b

emozilla landmark-llama-7b online free

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

emozilla landmark-llama-7b online free url in huggingface.co:

https://huggingface.co/emozilla/landmark-llama-7b

landmark-llama-7b install

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

landmark-llama-7b install url in huggingface.co:

https://huggingface.co/emozilla/landmark-llama-7b

Url of landmark-llama-7b

landmark-llama-7b huggingface.co Url

Provider of landmark-llama-7b huggingface.co

emozilla
ORGANIZATIONS

Other API from emozilla

huggingface.co

Total runs: 14
Run Growth: -4
Growth Rate: -28.57%
Updated:October 23 2023
huggingface.co

Total runs: 7
Run Growth: 0
Growth Rate: 0.00%
Updated:January 18 2024
huggingface.co

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

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:January 22 2024
huggingface.co

Total runs: 3
Run Growth: 3
Growth Rate: 100.00%
Updated:January 19 2024
huggingface.co

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

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 19 2024