akhooli / llama31ft

huggingface.co
Total runs: 11
24-hour runs: 0
7-day runs: 3
30-day runs: 10
Model's Last Updated: September 18 2024

Introduction of llama31ft

Model Details of llama31ft

This Model (toy Arabic classical poetry llm)

This is a partially (one epoch, subset of Arabic classical poetry dataset) fine tuned Llama 3.1 8B LLM for poetry generation. It is based on a 10% of 1 epoch continued pretraining of the Llama 3.1 8B LLM . Training was done on 200k articles from Arabic Wikipedia 2023 with article lengh in the range 128 - 8192 words (not tokens).
This is just a proof of concept demo and should never be used for production. It is also not aligned and is likely to produce strange and unaccepted content. Only the adapter is available (along with other config files). To use it, you can either install Unsloth or use the HuggingFace PEFT API.
See installation instructions at the Unsloth's link below (only one GPU).
See the LinkedIn Post
and X tweet

Here's a simple usage example (raw output) - and remember, it is a primitive toy model using freely available compute.

max_seq_length = 256
dtype = None
load_in_4bit = True
​
alpaca_prompt = """
أدناه تعليمة تصف مهمة مقترنة بمدخلات تضيف سياق إن وجدت. اكتب إجابة تتناسب مع التعليمة والمدخلات مع الحفاظ على القيم واﻵداب العامة.
​
### التعليمة:
{}
​
### المدخلات:
{}
​
### اﻹجابة:
{}"""
​
from unsloth import FastLanguageModel

model, tokenizer = FastLanguageModel.from_pretrained(
        model_name = "akhooli/llama31ft", 
        max_seq_length = max_seq_length,
        dtype = dtype,
        load_in_4bit = load_in_4bit,
    )
model = FastLanguageModel.for_inference(model) 

inputs = tokenizer(
[
    alpaca_prompt.format(
        "اكتب قصيدة شعرية قصيرة", # instruction
        "بحر البسيط", # input
        "", # output - leave this blank for generation!
    )
], return_tensors = "pt").to("cuda")

outputs = model.generate(**inputs, max_new_tokens = 256, use_cache = True,temperature=0.95)
r = tokenizer.batch_decode(outputs)
from pprint import pprint
pprint(r)

Uploaded model

  • Developed by: akhooli
  • License: apache-2.0
  • Finetuned from model : akhooli/llama31pretrained2

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

Runs of akhooli llama31ft on huggingface.co

11
Total runs
0
24-hour runs
3
3-day runs
3
7-day runs
10
30-day runs

More Information About llama31ft huggingface.co Model

More llama31ft license Visit here:

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

llama31ft huggingface.co

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

llama31ft huggingface.co Url

https://huggingface.co/akhooli/llama31ft

akhooli llama31ft online free

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

akhooli llama31ft online free url in huggingface.co:

https://huggingface.co/akhooli/llama31ft

llama31ft install

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

llama31ft install url in huggingface.co:

https://huggingface.co/akhooli/llama31ft

Url of llama31ft

llama31ft huggingface.co Url

Provider of llama31ft huggingface.co

akhooli
ORGANIZATIONS

Other API from akhooli

huggingface.co

Total runs: 129
Run Growth: 0
Growth Rate: 0.00%
Updated:September 07 2024
huggingface.co

Total runs: 94
Run Growth: 0
Growth Rate: 0.00%
Updated:September 16 2024
huggingface.co

Total runs: 90
Run Growth: 8
Growth Rate: 8.89%
Updated:March 20 2023
huggingface.co

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

Total runs: 42
Run Growth: 8
Growth Rate: 19.05%
Updated:November 16 2024
huggingface.co

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

Total runs: 19
Run Growth: 0
Growth Rate: 0.00%
Updated:September 14 2024
huggingface.co

Total runs: 15
Run Growth: 6
Growth Rate: 40.00%
Updated:March 20 2023
huggingface.co

Total runs: 14
Run Growth: 0
Growth Rate: 0.00%
Updated:October 05 2024
huggingface.co

Total runs: 14
Run Growth: 0
Growth Rate: 0.00%
Updated:September 30 2024
huggingface.co

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

Total runs: 7
Run Growth: 2
Growth Rate: 28.57%
Updated:October 22 2024
huggingface.co

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

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:December 12 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:September 01 2024
huggingface.co

Total runs: 5
Run Growth: 3
Growth Rate: 60.00%
Updated:September 22 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:September 25 2024
huggingface.co

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

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

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

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 29 2024