Model: Hananguyen12/bert-base-uncase-lora-shakespeare-plays
Author: Hananguyen12
Pipeline: question-answering
Library: peft
Tags: peft, safetensors, shakespeare, question-answering, bert, lora, extractive-qa, literature, education, nlp, en, dataset:custom, base_model:google-bert/bert-base-uncased, base_model:adapter:google-bert/bert-base-uncased, license:mit, model-index, region:us
Base models (adapter): id: google-bert/bert-base-uncased
Card metadata: language: en
license: mit
library_name: peft
tags: shakespeare, question-answering, bert, lora, peft, extractive-qa, literature, education, nlp
datasets: custom
metrics: exact_match, f1
model-index: name: bert-base-uncase-lora-shakespeare-plays
results: task: type: question-answering
name: Question Answering
dataset: type: custom
name: Shakespeare Q&A Dataset
metrics: type: exact_match
value: 0.85
name: Exact Match
verified: no, type: f1
value: 0.89
name: F1 Score
verified: no
base_model: bert-base-uncased
widget: text: Who is Romeo?
context: Romeo Montague is a young man from the Montague family in Verona. He falls deeply in love with Juliet Capulet, whose family is feuding with the Montagues. Despite their families' hatred, Romeo and Juliet secretly marry.
example_title: Character Question, text: What happens at the end of Romeo and Juliet?
context: The play ends tragically when miscommunication leads to both lovers' deaths. Romeo, believing Juliet to be dead, drinks poison. When Juliet awakens to find Romeo dead, she takes her own life. Their deaths finally reconcile the feuding families.
example_title: Plot Question, text: What themes are explored in Macbeth?
context: Macbeth explores themes of ambition, guilt, and the corrupting nature of unchecked power. The play shows how Macbeth's ambition leads him to murder and tyranny, while guilt consumes both him and Lady Macbeth.
example_title: Theme Question, text: Who encourages Macbeth to kill Duncan?
context: Lady Macbeth is instrumental in convincing Macbeth to murder King Duncan. She questions his manhood and ambition, ultimately persuading him to commit the act that sets the tragedy in motion.
example_title: Character Analysis, text: What does Hamlet's soliloquy reveal?
context: Hamlet's famous 'To be or not to be' soliloquy reveals his deep contemplation of life and death, existence and non-existence. He weighs the pain of life against the uncertainty of death, showing his philosophical nature and internal struggle.
example_title: Literary Analysis
pipeline_tag: question-answering
Likes: 0 | All-time downloads: 73
Created: 2025-06-04 19:24:31