Downloads · 30 days
6
2% of all-time downloads
israelNwokedi/Llama2_Finetuned_SEO_Instruction_Set
Llama2_Finetuned_SEO_Instruction_Set is a text generation model from israelNwokedi. 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.
Attempts to extract metadata; keywords, description and header count
Downloads · 30 days
6
2% of all-time downloads
All-time downloads
347
Public
Repo size
134 MB
Likes
4
Public
Click a slice to open those files.
.md3.5 KB · 61%
From the Hugging Face model README
Attempts to extract metadata; keywords, description and header count
Expediting offline SEO analysis
Currently does not respond to site or metadata, might need a more refined dataset to work.
!pip install -q -U trl transformers accelerate git+https://github.com/huggingface/peft.git
!pip install -q datasets bitsandbytes einops
Import and use the AutoModelForCausalLM.pretrained to load the model from "israelNwokedi/Llama2_Finetuned_SEO_Instruction_Set".
Prompts: Entire sites and backlinks scrapped from the web Outputs: Keywords, description, header counts (h1-h6).
These are the main components of the dataset. Additional samples are ChatGPT-generated metadata as prompts and the relevant outputs.
Finetuning of pre-trained "TinyPixel/Llama-2-7B-bf16-sharded" huggingface model using LoRA and QLoRA.
Used Transformers' BitsAndBytesConfig for lightweight model training and "TinyPixel/Llama-2-7B-bf16-sharded" tokenizer for encoding/decoding.
Sampled from training data.
Not yet computed.
[More Information Needed]
Intial test attempted reconstructing another artiicial metadata as part of its text generation function however this was not the intended usecase.