# `WhisperCpp.Model`
[🔗](https://github.com/rubas/whisper_cpp/blob/v0.2.0/lib/whisper_cpp/model.ex#L1)

Loaded whisper.cpp model handle.

Holds an opaque NIF reference plus cached metadata. The reference is
garbage-collected by the BEAM when no longer reachable; whisper.cpp
frees the model at that point.

# `device`

```elixir
@type device() :: :cpu | :cuda | :hipblas | :vulkan | :metal | :coreml | :intel_sycl
```

# `t`

```elixir
@type t() :: %WhisperCpp.Model{
  device: device(),
  multilingual: boolean(),
  n_vocab: pos_integer(),
  path: Path.t(),
  ref: reference(),
  sampling_rate: pos_integer()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
