We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d3481c commit 489537eCopy full SHA for 489537e
examples/embedding/embedding.cpp
@@ -1,6 +1,8 @@
1
#include "common.h"
2
#include "llama.h"
3
4
+#include <ctime>
5
+
6
int main(int argc, char ** argv) {
7
gpt_params params;
8
params.model = "models/llama-7B/ggml-model.bin";
examples/main/main.cpp
@@ -11,6 +11,7 @@
11
#include <cmath>
12
#include <cstdio>
13
#include <cstring>
14
15
#include <fstream>
16
#include <iostream>
17
#include <string>
examples/perplexity/perplexity.cpp
@@ -2,6 +2,7 @@
std::vector<float> softmax(const std::vector<float>& logits) {
std::vector<float> probs(logits.size());
0 commit comments