Practical overview
When it fits
Use it as a notebook-based research reference when exploring topic-specific tweet stance classification or evaluating predictions in the documented SemEval-compatible format.
Who it is for
- Researchers and students exploring NLP transfer learning for tweet stance classification.
- Python practitioners seeking notebook examples and an evaluation script for topic-focused stance labels.
Documented uses
- Classify tweets about a selected topic into Favor, Against or None using the demonstrated notebook workflows.
- Compare ULMFiT and transformer approaches to stance classification.
- Evaluate stance predictions with the included SemEval-oriented F1 scoring script.
Requirements & limits
The repository is public and identifies its license as MIT.
- The repository provides notebooks and a scoring script rather than a documented hosted classification interface.
- The ULMFiT workflow uses fastai v1 and requires spaCy’s English model; the README specifies Python 3.6+ and PyTorch 1.0+.
- The evaluation script expects tab-separated files containing ID, target, tweet and stance fields.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the ULMFiT notebook environment
Prepare the documented Python environment and dependencies for the ULMFiT workflow.
Before you start
- Python 3.6 or later
- The project repository and its requirements files
- PyTorch 1.0 or later
- fastai v1 and spaCy’s English language model for the ULMFiT notebook
Steps
Create and activate a Python virtual environment, then install the repository requirements with the commands in the README.
Install the PyTorch requirements using the provided requirements file.
Install fastai and download spaCy’s English model using the README commands.
Open the included ulmfit.ipynb notebook in a Jupyter environment.
Expected outcome
A locally prepared environment for inspecting and working through the ULMFiT stance-classification notebook.
Guide limitations
- The README describes the setup but does not establish compatibility with current dependency versions or guarantee successful notebook execution.
- The guide covers environment preparation and notebook access, not a completed prediction run.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 18 October 2026
- Original website title
- prrao87/tweet-stance-prediction · Official homepage title · retained in its source language

