enelpol/czywiesz
Preview • Updated • 146 • 2
How to use enelpol/czywiesz-question with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="enelpol/czywiesz-question") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("enelpol/czywiesz-question")
model = AutoModel.from_pretrained("enelpol/czywiesz-question")This is the question encoder for the Polish DPR question answering model. The full model consists of two encoders. Please read context encoder documentation to get the details of the model.