Komputation
Komputation is a neural network framework for the Java Virtual Machine written in Kotlin and CUDA C.
Install / Use
/learn @sekwiatkowski/KomputationREADME
Komputation
Komputation is a neural network framework for the Java Virtual Machine written in Kotlin and CUDA C.
Maven
Komputation is available through Maven Central:
<dependency>
<groupId>com.komputation</groupId>
<artifactId>komputation</artifactId>
<version>0.12.5</version>
</dependency>
Layers
-
Entry points:
-
Standard feed-forward networks:
-
Convolutional neural networks (CNNs):
-
Recurrent neural networks:
-
Activation functions:
-
Other layers:
CPU demos
-
Boolean functions:
-
Total:
-
Running total:
- Left-to-right:
- Right-to-left:
- Bidirectional:
-
Increment:
-
Word embedding toy problem:
-
MNIST:
-
TREC:
GPU/CUDA demos
-
Boolean functions:
-
Word embedding toy problem:
-
Total:
-
Increment:
-
MNIST:
-
TREC:
Sample code
The following code instantiates a GPU-accelerated convolutional neural network for sentence classification:
val sentenceClassifier = cudaNetwork(
batchSize,
lookup(embeddings, maximumDocumentLength, embeddingDimension, optimization),
convolution(numberFilters, filterWidth, filterHeight, initialization, optimization),
relu(),
dropout(random, keepProbability),
dense(numberCategories, Activation.Softmax, initialization, optimization)
)
See the TREC demo for more details.
Initialization
Loss functions
Optimization
- Stochastic Gradient Descent
- Historical:
- Adaptive:
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
API
A learning and reflection platform designed to cultivate clarity, resilience, and antifragile thinking in an uncertain world.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
