How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="binwang/xlnet-base-cased")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("binwang/xlnet-base-cased")
model = AutoModelForCausalLM.from_pretrained("binwang/xlnet-base-cased", device_map="auto")
Quick Links

Historical research checkpoint โ€” SBERT-WK (2020)

No longer actively maintained. Retained for reproducibility of the original work.

This repository hosts the original 12-layer XLNet checkpoint used in the SBERT-WK experiments. It is a supporting checkpoint for the sentence embedding method.

For the paper, original software environment, and reproduction instructions, see SBERT-WK: A Sentence Embedding Method by Dissecting BERT-based Word Models.

Original model description

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

Downloads last month
189
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including binwang/xlnet-base-cased