akhooli / Arabic-ColBERT-100K

huggingface.co
Total runs: 85
24-hour runs: 0
7-day runs: 7
30-day runs: -12
Model's Last Updated: August 15 2024
sentence-similarity

Introduction of Arabic-ColBERT-100K

Model Details of Arabic-ColBERT-100K

Arabic-ColBERT-100k

First version of Arabic ColBERT. This model was trained on 100K filtered triplets of the akhooli/arabic-triplets-1m-curated-sims-len which has 1 million Arabic (translated) triplets. The dataset was curated from different sources and enriched with similarity score. More details on the dataset are available in the data card.

Training used the Ragatouille library using a 2-GPU Kaggle account with aubmindlab/bert-base-arabertv02 as base model.

If you downloaded the model before July 27th 8 pm (Jerusalem time), please try the current version. Use the Ragatouille examples to learn more, just replace the pretrained model name and make sure you use Arabic text and split documents for best results.

You can train a better model if you have access to adequate compute (can finetune this model on more data, seed 42 was used tp pick the 100K sample).

Training script

from datasets import load_dataset
from ragatouille import RAGTrainer
sample_size = 100000
ds = load_dataset('akhooli/arabic-triplets-1m-curated-sims-len', split="train", trust_remote_code=True, streaming=True)

# some data processing not in this script (data filtered based on similarity scores) and 100K selected at random
sds = ds.shuffle(seed=42, buffer_size=10_000)
dsf = sds
triplets = []
for item in iter(dsf):
  triplets.append((item["query"], item["positive"], item["negative"]))
trainer = RAGTrainer(model_name="Arabic-ColBERT-100k", pretrained_model_name="aubmindlab/bert-base-arabertv02", language_code="ar",)
trainer.prepare_training_data(raw_data=triplets, mine_hard_negatives=False)

trainer.train(batch_size=32,
    nbits=4, # How many bits will the trained model use when compressing indexes
    maxsteps=3125, # Maximum steps hard stop
    use_ib_negatives=True, # Use in-batch negative to calculate loss
    dim=128, # How many dimensions per embedding. 128 is the default and works well.
    learning_rate=1e-5, # Learning rate, small values ([3e-6,3e-5] work best if the base model is BERT-like, 5e-6 is often the sweet spot)
    doc_maxlen=256, # Maximum document length. Because of how ColBERT works, smaller chunks (128-256) work very well.
    use_relu=False, # Disable ReLU -- doesn't improve performance
    warmup_steps="auto", # Defaults to 10%
    )

Install datasets and ragatouille first. Last checkpoint is saved in .ragatouille/..../colbert

Model first announced (July 14, 2024): https://www.linkedin.com/posts/akhooli_this-is-probably-the-first-arabic-colbert-activity-7217969205197848576-l8Cy
Dataset published and model updated (July 27, 2024): https://www.linkedin.com/posts/akhooli_arabic-1-million-curated-triplets-dataset-activity-7222951839774699521-PZcw

Citation
@online{AbedKhooli,
    author    = 'Abed Khooli',
    title     = 'Arabic ColBERT 100K',
    publisher = 'Hugging Face',
    month     = 'jul',
    year      = '2024',
    url       = 'https://huggingface.co/akhooli/Arabic-ColBERT-100k',
}

Runs of akhooli Arabic-ColBERT-100K on huggingface.co

85
Total runs
0
24-hour runs
1
3-day runs
7
7-day runs
-12
30-day runs

More Information About Arabic-ColBERT-100K huggingface.co Model

More Arabic-ColBERT-100K license Visit here:

https://choosealicense.com/licenses/mit

Arabic-ColBERT-100K huggingface.co

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

Arabic-ColBERT-100K huggingface.co Url

https://huggingface.co/akhooli/Arabic-ColBERT-100K

akhooli Arabic-ColBERT-100K online free

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

akhooli Arabic-ColBERT-100K online free url in huggingface.co:

https://huggingface.co/akhooli/Arabic-ColBERT-100K

Arabic-ColBERT-100K install

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

Arabic-ColBERT-100K install url in huggingface.co:

https://huggingface.co/akhooli/Arabic-ColBERT-100K

Url of Arabic-ColBERT-100K

Arabic-ColBERT-100K huggingface.co Url

Provider of Arabic-ColBERT-100K 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: 11
Run Growth: 10
Growth Rate: 90.91%
Updated:September 18 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