Related Experiment Video
Updated: Sep 18, 2025

05:56
Objectification of Tongue Diagnosis in Traditional Medicine, Data Analysis, and Study Application
Published on: April 14, 2023
2.6K
Native language identification from text using a fine-tuned GPT-2 model
1School of Foreign Languages, Shanghai University, Shanghai, China.
Peerj. Computer Science
|June 26, 2025
Summary
This study enhances native language identification (NLI) using a fine-tuned GPT-2 model. The advanced GPT-2 model significantly improves accuracy in classifying learner languages, outperforming traditional methods.
Area of Science:
- Computational Linguistics
- Artificial Intelligence
- Natural Language Processing
Background:
- Native Language Identification (NLI) is crucial for applications like personalized language learning and machine translation.
- Existing methods often struggle with nuanced language variations.
- Advancements in deep learning offer potential for improved NLI accuracy.
Purpose of the Study:
- To investigate the efficacy of a fine-tuned GPT-2 model for Native Language Identification.
- To enhance the accuracy of classifying the native language of Portuguese learners.
- To compare the performance of GPT-2 against traditional machine learning and other pre-trained models.
Main Methods:
- Utilized the NLI-PT dataset for training and evaluation.
- Preprocessed text data including tokenization and embedding extraction.
- Fine-tuned the GPT-2 model using a multi-layer transformer-based classification approach.
Main Results:
- The fine-tuned GPT-2 model achieved a weighted F1 score of 0.9419 and an accuracy of 94.65%.
- Demonstrated superior performance compared to Support Vector Machines (SVM), Random Forest, BERT, RoBERTa, and BioBERT.
- Significant improvement in NLI accuracy was observed.
Conclusions:
- Large transformer models, like GPT-2, are highly effective for Native Language Identification.
- The fine-tuned GPT-2 model offers a robust solution for NLI tasks.
- Findings can inform the development of AI-driven personalized language learning tools.
More Related Videos
Related Concept Videos
Improving Translational Accuracy
11.9K
Base complementarity between the three base pairs of mRNA codon and the tRNA anticodon is not a failsafe mechanism. Inaccuracies can range from a single mismatch to no correct base pairing at all. The free energy difference between the correct and nearly correct base pairs can be as small as 3 kcal/ mol. With complementarity being the only proofreading step, the estimated error frequency would be one wrong amino acid in every 100 amino acids incorporated. However, error frequencies observed in...
11.9K
Language Development
461
Children master language quickly and with relative ease, supported by both biological predisposition and reinforcement. B. F. Skinner (1957) proposed that language is learned through reinforcement, while Noam Chomsky (1965) argued that language acquisition mechanisms are biologically determined.
The critical period for language acquisition suggests that the ability to acquire language is at its peak early in life. As people age, this proficiency decreases. Language development begins very...
The critical period for language acquisition suggests that the ability to acquire language is at its peak early in life. As people age, this proficiency decreases. Language development begins very...
461
Language and Cognition
460
Language serves as a bridge between ideas and communication, influencing how individuals perceive and interact with the world. Psychologists have long debated whether language shapes thought or vice versa. This discussion gained grip with Edward Sapir and Benjamin Lee Whorf in the 1940s, who proposed that language determines thought, a concept known as linguistic determinism. They suggested that the vocabulary and structure of a language influence how its speakers think and perceive reality.
460
Language
430
Language is a unique communication system that uses words and systematic rules to organize and transmit information. Unlike other forms of communication, which may involve postures, movements, odors, or vocalizations, language relies on symbols and grammar. This makes human communication distinct from that of other species, who also communicate but do not use language in the same way humans do.
Corballis and Suddendorf (2007) and Tomasello and Rakoczy (2003) highlight the role of language in...
Corballis and Suddendorf (2007) and Tomasello and Rakoczy (2003) highlight the role of language in...
430
Components of Language
413
Language, whether spoken, signed, or written, consists of specific components: lexicon and grammar. The lexicon is the vocabulary of a language, comprising its words. Grammar is the set of rules used to convey meaning through the lexicon. For example, English grammar adds “-ed” to most verbs to indicate past tense. Words are formed by combining phonemes, which are the basic sound units of a language. Different languages have different sets of phonemes (e.g., “ah” vs.
413

