AlexWortega / instruct_rugptMedium

huggingface.co
Total runs: 78
24-hour runs: 0
7-day runs: -6
30-day runs: -38
Model's Last Updated: March 24 2023
text-generation

Introduction of instruct_rugptMedium

Model Details of instruct_rugptMedium

Instructions ruGPT Medium v0.11_75к_a

Model Summary

Это ruGPTMedium дообученная в инструктивно-флановом сетапе, она более ли менее ZSшотиться и FSшотиться и работает лучше чем XGLM1.7b, mgpt на русском языке

Quick Start

from transformers import pipeline
#в душе не ебу будет ли норм работать, ставлю жопу автора хф что токенайзер мисматчнет с моделью, вообще грузите по нормальному
pipe = pipeline(model='AlexWortega/instruct_rugptMedium')
pipe('''Как собрать питон код?''')

or

from transformers import GPT2TokenizerFast,GPT2LMHeadModel
tokenizer = GPT2TokenizerFast.from_pretrained("AlexWortega/instruct_rugptMedium")
special_tokens_dict = {'additional_special_tokens': ['<code>', '</code>', '<instructionS>', '<instructionE>', '<next>']}

tokenizer.add_special_tokens(special_tokens_dict)
device = 'cuda:1'
model = GPT2LMHeadModel.from_pretrained("AlexWortega/instruct_rugptMedium")
model.to(device)

model.resize_token_embeddings(len(tokenizer))

обратите внимание, что лучшие параметры для генерации

gen_kwargs = {
        "min_length": 20,
        "max_new_tokens": 100,
        "top_k": 50,
        "top_p": 0.9,
        "do_sample": True,  
        "early_stopping": True,
        "no_repeat_ngram_size": 2,
        "eos_token_id": tokenizer.eos_token_id,
        "pad_token_id": tokenizer.eos_token_id,
        "use_cache": True,
        "repetition_penalty": 1.5,  
        "length_penalty": 0.8,  
        "num_beams": 4,
        "num_return_sequences": k
    }

License

The weights of Instructions ruGPT Small v0.1a are licensed under version 2.0 of the Apache License.

Hyperparameters

I used Novograd with a learning rate of 2e-5 and global batch size of 6 (3 for each data parallel worker). I use both data parallelism and pipeline parallelism to conduct training. During training, we truncate the input sequence to 1024 tokens, and for input sequence that contains less than 1024 tokens, we concatenate multiple sequences into one long sequence to improve the data efficiency.

References

#Metrics

SOON

BibTeX entry and citation info
@article{
  title={GPT2xl is underrated task solver},
  author={Nickolich Aleksandr, 5Q, datascience, Ilya Gusev, Alex Kukushkin, Karina Romanova, Arseniy Shahmatov, Maksim Gersimenko},
  year={2023}
}

Runs of AlexWortega instruct_rugptMedium on huggingface.co

78
Total runs
0
24-hour runs
-4
3-day runs
-6
7-day runs
-38
30-day runs

More Information About instruct_rugptMedium huggingface.co Model

More instruct_rugptMedium license Visit here:

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

instruct_rugptMedium huggingface.co

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

instruct_rugptMedium huggingface.co Url

https://huggingface.co/AlexWortega/instruct_rugptMedium

AlexWortega instruct_rugptMedium online free

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

AlexWortega instruct_rugptMedium online free url in huggingface.co:

https://huggingface.co/AlexWortega/instruct_rugptMedium

instruct_rugptMedium install

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

instruct_rugptMedium install url in huggingface.co:

https://huggingface.co/AlexWortega/instruct_rugptMedium

Url of instruct_rugptMedium

instruct_rugptMedium huggingface.co Url

Provider of instruct_rugptMedium huggingface.co

AlexWortega
ORGANIZATIONS

Other API from AlexWortega

huggingface.co

Total runs: 303
Run Growth: 12
Growth Rate: 3.96%
Updated:September 05 2026
huggingface.co

Total runs: 262
Run Growth: 180
Growth Rate: 68.70%
Updated:May 02 2024
huggingface.co

Total runs: 66
Run Growth: 0
Growth Rate: 0.00%
Updated:November 16 2024
huggingface.co

Total runs: 28
Run Growth: 1
Growth Rate: 3.57%
Updated:August 03 2023
huggingface.co

Total runs: 24
Run Growth: 0
Growth Rate: 0.00%
Updated:November 16 2024
huggingface.co

Total runs: 20
Run Growth: -6
Growth Rate: -30.00%
Updated:January 20 2024
huggingface.co

Total runs: 14
Run Growth: 2
Growth Rate: 14.29%
Updated:January 14 2024
huggingface.co

Total runs: 13
Run Growth: -4
Growth Rate: -40.00%
Updated:February 02 2023
huggingface.co

Total runs: 13
Run Growth: 3
Growth Rate: 23.08%
Updated:November 05 2022
huggingface.co

Total runs: 12
Run Growth: -1
Growth Rate: -8.33%
Updated:January 21 2024
huggingface.co

Total runs: 12
Run Growth: -4
Growth Rate: -36.36%
Updated:February 02 2023
huggingface.co

Total runs: 6
Run Growth: -5
Growth Rate: -83.33%
Updated:September 22 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 22 2023
huggingface.co

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

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 08 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 03 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 01 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 18 2024