# Searching for words: @model xxx(n) vs model = xxx(17)

**URL:** https://discourse.julialang.org/t/searching-for-words-model-xxx-n-vs-model-xxx-17/95230
**Category:** Probabilistic Programming
**Tags:** turing
**Created:** [February 26, 2023, 7:05pm UTC](https://discourse.julialang.org/t/searching-for-words-model-xxx-n-vs-model-xxx-17/95230 "2023-02-26T19:05:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zenon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zenon/32/6508_2.png) [@zenon](https://discourse.julialang.org/u/zenon)
#### Post date: [February 26, 2023, 7:05pm UTC](https://discourse.julialang.org/t/searching-for-words-model-xxx-n-vs-model-xxx-17/95230/1 "2023-02-26T19:05:33Z")

</div>

In Turing, we have one thing called model, the thing constructed with the @model macro.  
Like

```julia
@model myModel(X; n = 1)
    m ~ Normal(100.0, 5.0)
    s ~ Exponential(1.0)
    X ~ filldist(Normal(m, s), n)
end

```

But then, in many places people call it model after filling it with data

`model = myModel([1.0, 2.0, 3.0], 3)`

As both is different, are there any words more specific for each? Best would be, if they are already standard, and only I don’t know them 🙂

Thank you!

PS.: Ah, and another word for myModel(missing) ?

---

<div class="post-metadata">

### Author: ![cpfiffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cpfiffer/32/208747_2.png) [@cpfiffer](https://discourse.julialang.org/u/cpfiffer)
#### Post date: [February 27, 2023, 3:45pm UTC](https://discourse.julialang.org/t/searching-for-words-model-xxx-n-vs-model-xxx-17/95230/2 "2023-02-27T15:45:29Z")

</div>

The first is a _model definition_ – it contains no data and simply describes the flow of the model in a general shape.

The second is an _instantiated model_. This is a specific instance of a model and contains the data.

Others might have different words for these, but that’s how I refer to stuff.

---

<div class="post-metadata">

### Author: ![zenon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zenon/32/6508_2.png) [@zenon](https://discourse.julialang.org/u/zenon)
#### Post date: [February 28, 2023, 9:05pm UTC](https://discourse.julialang.org/t/searching-for-words-model-xxx-n-vs-model-xxx-17/95230/3 "2023-02-28T21:05:06Z")

</div>

Thank you!

More opinions welcome. Anybody? 🙂
