Downloads · 30 days
57
25% of all-time downloads
Nikolenko-Sergei/FukuiNet
FukuiNet is a feature extraction model from Nikolenko-Sergei. Use it when you need embeddings to search or compare text. It is set up for transformers. The card lists the license as mit.
Neural network for predicting Fukui indices using Kolmogorov-Arnold Networks (KAN) with Chebyshev graph convolutions.
Downloads · 30 days
57
25% of all-time downloads
All-time downloads
226
Public
Repo size
18.4 MB
Likes
0
Public
Click a slice to open those files.
.ckpt18.4 MB · 99%
From the Hugging Face model README
Neural network for predicting Fukui indices using Kolmogorov-Arnold Networks (KAN) with Chebyshev graph convolutions.
# Clone and install
git clone https://huggingface.co/Nikolenko-Sergei/FukuiNet
cd FukuiNet
uv sync
The CLI provides a simple interface for molecular analysis:
# Check available devices and model info
uv run fukui_net info
# Predict single molecule
uv run fukui_net predict "CCO" --device cuda:1
# Batch prediction from CSV file
uv run fukui_net predict --csv molecules.csv --output predictions.csv --device cuda:1
CLI Options:
--device: Specify device (cpu, cuda:0, cuda:1, etc.)--csv: Input CSV file with SMILES column--output: Output CSV file for batch predictions--column: Name of SMILES column in CSV (default: "smiles")Input CSV format:
smiles,name
CCO,Ethanol
c1ccccc1,Benzene
Output CSV format:
smiles,fukui_indices
CCO,"[-0.322, -0.122, -0.935, ...]"
c1ccccc1,"[-0.280, -0.280, ...]"
from transformers import AutoModel
# Load model from Hugging Face Hub
model = AutoModel.from_pretrained(
"Nikolenko-Sergei/FukuiNet",
trust_remote_code=True
)
# Predict Fukui indices
fukui_indices = model.predict("CCO")
print(f"Fukui indices: {fukui_indices}")
# Batch prediction
results = model.predict_batch(["CCO", "c1ccccc1"])
from fukui_net.predictor import FukuiNetPredictor
# Load predictor
predictor = FukuiNetPredictor("models/final_model.ckpt", device="cuda:1")
# Predict
fukui_indices = predictor.predict_smiles("CCO")
Input: SMILES strings (e.g., "CCO", "c1ccccc1")
Output: List of Fukui indices for each atom
MIT License