flax-community / gpt2-medium-persian

huggingface.co
Total runs: 135
24-hour runs: 0
7-day runs: 10
30-day runs: 61
Model's Last Updated: July 16 2021
text-generation

Introduction of gpt2-medium-persian

Model Details of gpt2-medium-persian

GPT2 Medium 4 Persian

This is part of the Flax/Jax Community Week , organized by HuggingFace and TPU usage sponsored by Google.

Team Members
Dataset

We used Oscar dataset, which is a huge multilingual corpus obtained by language classification and filtering of the Common Crawl corpus.

How To Use

You can use this model directly with a pipeline for text generation.

from transformers import pipeline, AutoTokenizer, GPT2LMHeadModel
tokenizer = AutoTokenizer.from_pretrained('flax-community/gpt2-medium-persian')
model = GPT2LMHeadModel.from_pretrained('flax-community/gpt2-medium-persian')
generator = pipeline('text-generation', model, tokenizer=tokenizer, config={'max_length':100})
generated_text = generator('در یک اتفاق شگفت انگیز، پژوهشگران')

For using Tensorflow import TFGPT2LMHeadModel instead of GPT2LMHeadModel.

Demo

... SOON

Evaluation

... SOON

Runs of flax-community gpt2-medium-persian on huggingface.co

135
Total runs
0
24-hour runs
-2
3-day runs
10
7-day runs
61
30-day runs

More Information About gpt2-medium-persian huggingface.co Model

gpt2-medium-persian huggingface.co

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

flax-community gpt2-medium-persian online free

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

flax-community gpt2-medium-persian online free url in huggingface.co:

https://huggingface.co/flax-community/gpt2-medium-persian

gpt2-medium-persian install

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

gpt2-medium-persian install url in huggingface.co:

https://huggingface.co/flax-community/gpt2-medium-persian

Url of gpt2-medium-persian

Provider of gpt2-medium-persian huggingface.co

flax-community
ORGANIZATIONS

Other API from flax-community