MicroJulia / README.md
LisaMegaWatts's picture
Fix space: add README, fix Dockerfile, add SSE streaming support
b560261 verified
---
title: MicroJulia
emoji: πŸ›οΈ
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
license: mit
tags:
- julia
- gpt
- philosophy
- openai-compatible
- character-level
---
# MicroJulia
A GPT-2 style transformer trained on classical philosophy texts, implemented in Julia with Flux.jl. Serves an OpenAI-compatible API.
## Endpoints
- `GET /` β€” Health check and model info
- `GET /v1/models` β€” List available models
- `POST /v1/chat/completions` β€” Generate text (supports streaming)
## Usage
```bash
curl -X POST https://your-space.hf.space/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"messages": [{"role": "user", "content": "hello"}], "stream": true}'
```