Spaces:
Sleeping
Sleeping
File size: 729 Bytes
643b9ff b560261 643b9ff b560261 643b9ff b560261 643b9ff b560261 643b9ff c275980 b560261 c275980 b560261 c275980 b560261 c275980 b560261 c275980 b560261 c275980 b560261 c275980 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
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}'
```
|