Back to all models
text-generation mask_token: <mask>
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint
								$ curl -X POST \
https://api-inference.huggingface.co/models/binwang/xlnet-base-cased
Share Copied link to clipboard

Monthly model downloads

binwang/xlnet-base-cased binwang/xlnet-base-cased
79 downloads
last 30 days

pytorch

tf

Contributed by

binwang Bin Wang
7 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("binwang/xlnet-base-cased") model = AutoModelWithLMHead.from_pretrained("binwang/xlnet-base-cased")

This model is pre-trained XLNET with 12 layers.

It comes with paper: SBERT-WK: A Sentence Embedding Method By Dissecting BERT-based Word Models

Project Page: SBERT-WK