lvwerra / gpt2-imdb

huggingface.co
Total runs: 42.8K
24-hour runs: 1.0K
7-day runs: 5.4K
30-day runs: 28.6K
Model's Last Updated: Có thể 23 2021
text-generation

Introduction of gpt2-imdb

Model Details of gpt2-imdb

GPT2-IMDB

What is it?

A GPT2 ( gpt2 ) language model fine-tuned on the IMDB dataset .

Training setting

The GPT2 language model was fine-tuned for 1 epoch on the IMDB dataset. All comments were joined into a single text file separated by the EOS token:

import pandas as pd
df = pd.read_csv("imdb-dataset.csv")
imdb_str = " <|endoftext|> ".join(df['review'].tolist())

with open ('imdb.txt', 'w') as f:
    f.write(imdb_str)

To train the model the run_language_modeling.py script in the transformer library was used:

python run_language_modeling.py 
    --train_data_file imdb.txt 
    --output_dir gpt2-imdb 
    --model_type gpt2 
    --model_name_or_path gpt2

Runs of lvwerra gpt2-imdb on huggingface.co

42.8K
Total runs
1.0K
24-hour runs
2.5K
3-day runs
5.4K
7-day runs
28.6K
30-day runs

More Information About gpt2-imdb huggingface.co Model

gpt2-imdb huggingface.co

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

gpt2-imdb huggingface.co Url

https://huggingface.co/lvwerra/gpt2-imdb

lvwerra gpt2-imdb online free

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

lvwerra gpt2-imdb online free url in huggingface.co:

https://huggingface.co/lvwerra/gpt2-imdb

gpt2-imdb install

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

gpt2-imdb install url in huggingface.co:

https://huggingface.co/lvwerra/gpt2-imdb

Url of gpt2-imdb

gpt2-imdb huggingface.co Url

Provider of gpt2-imdb huggingface.co

lvwerra
ORGANIZATIONS

Other API from lvwerra

huggingface.co

Total runs: 20.0K
Run Growth: 9.9K
Growth Rate: 49.25%
Updated: Tháng Một 25 2023
huggingface.co

Total runs: 44
Run Growth: -56
Growth Rate: -127.27%
Updated: Có thể 20 2021
huggingface.co

Total runs: 5
Run Growth: -6
Growth Rate: -120.00%
Updated: Tháng Mười 25 2021
huggingface.co

Total runs: 1
Run Growth: -4
Growth Rate: -400.00%
Updated: Bước đều 02 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Tháng bảy 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Tháng tư 18 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Tháng 9 27 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Tháng bảy 20 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Tháng hai 11 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Tháng mười một 04 2022