SIRIS-Lab / grant-classification-model

huggingface.co
Total runs: 3
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: May 13 2025
text-classification

Introduction of grant-classification-model

Model Details of grant-classification-model

Grant Classification Model

This model classifies research grants according to a custom taxonomy based on OECD's categorization of science, technology, and innovation (STI) policy instruments.

Model Description
  • Model architecture : Fine-tuned version of intfloat/multilingual-e5-large
  • Language(s) : Multilingual
  • License : MIT
  • Limitations : The model is specialized for grant classification and may not perform well on other text classification tasks
Usage
Basic usage
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline

# Load model and tokenizer
model_name = "SIRIS-Lab/grant-classification-model"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)

# Create classification pipeline
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)

# Example grant text
grant_text = """
Title: Advancing Quantum Computing Applications in Drug Discovery
Abstract: This project aims to develop novel quantum algorithms for simulating molecular interactions to accelerate the drug discovery process. The research will focus on overcoming current limitations in quantum hardware by developing error-mitigation techniques specific to chemistry applications.
Funder: National Science Foundation
Funding Scheme: Quantum Leap Challenge Institutes
Beneficiary: University of California, Berkeley
"""

# Get prediction
result = classifier(grant_text)
print(f"Predicted category: {result[0]['label']}")
print(f"Confidence: {result[0]['score']:.4f}")
Batch processing for multiple grants
import pandas as pd
from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline

# Load model and tokenizer
model_name = "SIRIS-Lab/grant-classification-model"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)

# Create classification pipeline
classifier = TextClassificationPipeline(model=model, tokenizer=tokenizer)

# Function to prepare grant text
def prepare_grant_text(row):
    parts = []
    if row.get('title'):
        parts.append(f"Title: {row['title']}")
    if row.get('abstract'):
        parts.append(f"Abstract: {row['abstract']}")
    if row.get('funder'):
        parts.append(f"Funder: {row['funder']}")
    if row.get('funding_scheme'):
        parts.append(f"Funding Scheme: {row['funding_scheme']}")
    if row.get('beneficiary'):
        parts.append(f"Beneficiary: {row['beneficiary']}")
    return "\n".join(parts)

# Example data
grants_df = pd.read_csv("grants.csv")
grants_df['text_for_model'] = grants_df.apply(prepare_grant_text, axis=1)

# Classify grants
results = classifier(grants_df['text_for_model'].tolist())

# Add results to dataframe
grants_df['predicted_category'] = [r['label'] for r in results]
grants_df['confidence'] = [r['score'] for r in results]
Classification Categories

The model classifies grants into the following categories:

  1. business_rnd_innovation : Direct allocation of funding to private firms for R&D and innovation activities with commercial applications
  2. fellowships_scholarships : Financial support for individual researchers or higher education students
  3. institutional_funding : Core funding for higher education institutions and public research institutes
  4. networking_collaborative : Tools to bring together various actors within the innovation system
  5. other_research_funding : Alternative funding mechanisms for R&D or higher education
  6. out_of_scope : Grants unrelated to research, development, or innovation
  7. project_grants_public : Direct funding for specific research projects in public institutions
  8. research_infrastructure : Funding for research facilities, equipment, and resources
Training

This model was fine-tuned on a dataset of grant documents with annotations derived from a consensus of multiple LLM predictions (Gemma, Mistral, Qwen) and human validation. The training process included:

  • Base model: intfloat/multilingual-e5-large
  • Training approach: Fine-tuning with early stopping
  • Optimization: AdamW optimizer with weight decay
  • Sequence length: 512 tokens
  • Batch size: 8
  • Learning rate: 2e-5
Citation and References

This model is based on a custom taxonomy derived from the OECD's categorization of science, technology, and innovation (STI) policy instruments. For more information, see:

EC/OECD (2023), STIP Survey, https://stip.oecd.org

Acknowledgements

Runs of SIRIS-Lab grant-classification-model on huggingface.co

3
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About grant-classification-model huggingface.co Model

More grant-classification-model license Visit here:

https://choosealicense.com/licenses/mit

grant-classification-model huggingface.co

grant-classification-model huggingface.co is an AI model on huggingface.co that provides grant-classification-model's model effect (), which can be used instantly with this SIRIS-Lab grant-classification-model model. huggingface.co supports a free trial of the grant-classification-model model, and also provides paid use of the grant-classification-model. Support call grant-classification-model model through api, including Node.js, Python, http.

grant-classification-model huggingface.co Url

https://huggingface.co/SIRIS-Lab/grant-classification-model

SIRIS-Lab grant-classification-model online free

grant-classification-model huggingface.co is an online trial and call api platform, which integrates grant-classification-model's modeling effects, including api services, and provides a free online trial of grant-classification-model, you can try grant-classification-model online for free by clicking the link below.

SIRIS-Lab grant-classification-model online free url in huggingface.co:

https://huggingface.co/SIRIS-Lab/grant-classification-model

grant-classification-model install

grant-classification-model is an open source model from GitHub that offers a free installation service, and any user can find grant-classification-model on GitHub to install. At the same time, huggingface.co provides the effect of grant-classification-model install, users can directly use grant-classification-model installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

grant-classification-model install url in huggingface.co:

https://huggingface.co/SIRIS-Lab/grant-classification-model

Url of grant-classification-model

grant-classification-model huggingface.co Url

Provider of grant-classification-model huggingface.co

SIRIS-Lab
ORGANIZATIONS

Other API from SIRIS-Lab

huggingface.co

Total runs: 7
Run Growth: 1
Growth Rate: 12.50%
Updated:June 07 2023